import mongoose from 'mongoose'
import Model from './model'
const citySchema = new mongoose.Schema({
  id: {
    type: String,
    require: true
  },
  value: {
    type: Array,
    require: true
  }
})

class cityModel extends Model {
  constructor(connection, schema, name) {
    super(connection, schema, name)
  }

}

const city = new cityModel(mongoose, citySchema, 'cities')

export default city
